const mongoose = require('mongoose')
const CONSTANT = require('../constant')
mongoose.connect(CONSTANT.MONGODB_URI)
  .then(() => console.log('MongoDB 数据库连接成功'))
  .catch(err => console.log('MongoDB 数据库连接失败：', err));